﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace BusinessClass.Business.ConfigEntity
{
    public class MakeTxtConifg : RuleConfig
    {
        /// <summary>
        /// 输出内容模板（从input中生成规则）
        /// </summary>
        [JsonProperty("format")]
        public string OutPutContentStringTemplateFormat { get; set; }
        public override string ToString()
        {
            return JsonConvert.SerializeObject(this);
        }
        public new static MakeTxtConifg FromJson(String json)
        {
            return JsonConvert.DeserializeObject<MakeTxtConifg>(json);
        }
    }
}
